package com.yw.contentsInfo.doamin;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;

@Data
@NoArgsConstructor
@TableName(value = "contents")
public class Content {
    @Id
    @Schema(description = "内码",name = "id")
    private Integer id; // 内码

    @Schema(description = "contentsName",name = "目录名")
    private String contentsName; // 目录名

    @Schema(description = "parentId",name = "父级ID")
    private Integer parentId; // 父级ID
}
